﻿using MqLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RabbitMqService
{
    public interface IRabbitHelperr<T>
    {
        /// <summary>
        ///  插入消息队列
        /// </summary>
        /// <param name="Ratype"></param>
        /// <param name="InserMessage"></param>
        void InsertRabbitMq(RabbitTypeEnum Ratype, T InserMessage);
        /// <summary>
        ///  获取消息队列
        /// </summary>
        /// <param name="Ratype"></param>
        /// <returns></returns>
        T GetRabbitMq(RabbitTypeEnum Ratype);
    }
}
